package com.lemon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lemon.domain.LogisticsCompany;
import com.lemon.domain.vo.LogisticsCompanyVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogisticsCompanyMapper extends BaseMapper<LogisticsCompany> {

    @Select("select id, company_name as companyName,min_price from logistics_company")
    List<LogisticsCompanyVo> getList();
}
